/* The connection with MGS is not established.
* Try again after 2 seconds. Interruptable. */
set_current_state(TASK_INTERRUPTIBLE);
- schedule_timeout(
- msecs_to_jiffies(MSEC_PER_SEC) * 2);
+ schedule_timeout(cfs_time_seconds(2));
set_current_state(TASK_RUNNING);
if (!signal_pending(current))
goto again;
sb->s_blocksize_bits = log2(sb->s_blocksize);
sb->s_magic = LUSTRE_SUPER_MAGIC;
sb->s_maxbytes = 0; /* we don't allow file IO on server mountpoints */
- sb->s_flags |= MS_RDONLY;
+ sb->s_flags |= SB_RDONLY;
sb->s_op = &server_ops;
root = new_inode(sb);