summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEvgeniy Polyakov <zbr@ioremap.net>2009-03-27 13:04:22 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-17 20:06:29 +0200
commit872dc5e500cc25e3c35d83510dfbd6fb8d78221b (patch)
treed5abc9b5882adc5c382a6f2ae77fb8a435159777 /drivers
parentStaging: Pohmelfs: Added 'need_lock' variable into debug print. (diff)
downloadlinux-872dc5e500cc25e3c35d83510dfbd6fb8d78221b.tar.xz
linux-872dc5e500cc25e3c35d83510dfbd6fb8d78221b.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/pohmelfs/inode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/pohmelfs/inode.c b/drivers/staging/pohmelfs/inode.c
index a19e532039e2..00570d9c265a 100644
--- a/drivers/staging/pohmelfs/inode.c
+++ b/drivers/staging/pohmelfs/inode.c
@@ -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;