mirror of https://gitee.com/openkylin/linux.git
Staging: Pohmelfs: Set NETFS_INODE_REMOTE_SYNCED and clear NETFS_INODE_OWNED bits in the root inode.
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
b522efdd6f
commit
872dc5e500
|
@ -1845,6 +1845,8 @@ static int pohmelfs_fill_super(struct super_block *sb, void *data, int silent)
|
|||
err = PTR_ERR(npi);
|
||||
goto err_out_crypto_exit;
|
||||
}
|
||||
set_bit(NETFS_INODE_REMOTE_SYNCED, &npi->state);
|
||||
clear_bit(NETFS_INODE_OWNED, &npi->state);
|
||||
|
||||
root = &npi->vfs_inode;
|
||||
|
||||
|
|
Loading…
Reference in New Issue