Skip to content

Commit

Permalink
Staging: Pohmelfs: Set NETFS_INODE_REMOTE_SYNCED and clear NETFS_INOD…
Browse files Browse the repository at this point in the history
…E_OWNED bits in the root inode.

Signed-off-by: Evgeniy Polyakov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
bioothod authored and gregkh committed Apr 17, 2009
1 parent b522efd commit 872dc5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/pohmelfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 872dc5e

Please sign in to comment.