diff options
author | Evgeniy Polyakov <zbr@ioremap.net> | 2009-03-27 15:04:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-17 11:06:29 -0700 |
commit | 872dc5e500cc25e3c35d83510dfbd6fb8d78221b (patch) | |
tree | d5abc9b5882adc5c382a6f2ae77fb8a435159777 /drivers | |
parent | b522efdd6f8ab8eaae8c8aa984ab7f06a08bcc8e (diff) | |
download | linux-872dc5e500cc25e3c35d83510dfbd6fb8d78221b.tar.bz2 |
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.c | 2 |
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; |