diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-10-30 17:38:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 14:46:47 -0800 |
commit | d3f8cf489993658702b7e58ff37162246263de53 (patch) | |
tree | 268db74a65b90335fb3457357e46e732696cfbb0 /fs | |
parent | 08db2a701bd63d0e36f06a29137bf016a907cf71 (diff) | |
download | kernel_samsung_smdk4412-d3f8cf489993658702b7e58ff37162246263de53.zip kernel_samsung_smdk4412-d3f8cf489993658702b7e58ff37162246263de53.tar.gz kernel_samsung_smdk4412-d3f8cf489993658702b7e58ff37162246263de53.tar.bz2 |
[PATCH] NFS: Remove unbalanced spin_unlock() calls from nfs_refresh_inode()
Doh!
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/inode.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index f2781ca..fc0f12b 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c @@ -1274,14 +1274,12 @@ static int nfs_check_inode_attributes(struct inode *inode, struct nfs_fattr *fat } if ((fattr->valid & NFS_ATTR_FATTR) == 0) { - spin_unlock(&inode->i_lock); return 0; } /* Has the inode gone and changed behind our back? */ if (nfsi->fileid != fattr->fileid || (inode->i_mode & S_IFMT) != (fattr->mode & S_IFMT)) { - spin_unlock(&inode->i_lock); return -EIO; } |