mirror of https://gitee.com/openkylin/linux.git
nilfs2: replace MS_VERBOSE with MS_SILENT
MS_VERBOSE is deprecated. This replaces it with MS_SILENT in reference to get_sb_bdev function. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
This commit is contained in:
parent
4571b82cdc
commit
e2d1591a13
|
@ -1076,7 +1076,8 @@ nilfs_get_sb(struct file_system_type *fs_type, int flags,
|
|||
strlcpy(s->s_id, bdevname(sd.bdev, b), sizeof(s->s_id));
|
||||
sb_set_blocksize(s, block_size(sd.bdev));
|
||||
|
||||
err = nilfs_fill_super(s, data, flags & MS_VERBOSE, nilfs);
|
||||
err = nilfs_fill_super(s, data, flags & MS_SILENT ? 1 : 0,
|
||||
nilfs);
|
||||
if (err)
|
||||
goto cancel_new;
|
||||
|
||||
|
|
Loading…
Reference in New Issue