diff options
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r-- | fs/nfs/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 6acc73c80d7f..f52c99f4785b 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -237,6 +237,8 @@ nfs_find_actor(struct inode *inode, void *opaque) | |||
237 | 237 | ||
238 | if (NFS_FILEID(inode) != fattr->fileid) | 238 | if (NFS_FILEID(inode) != fattr->fileid) |
239 | return 0; | 239 | return 0; |
240 | if ((S_IFMT & inode->i_mode) != (S_IFMT & fattr->mode)) | ||
241 | return 0; | ||
240 | if (nfs_compare_fh(NFS_FH(inode), fh)) | 242 | if (nfs_compare_fh(NFS_FH(inode), fh)) |
241 | return 0; | 243 | return 0; |
242 | if (is_bad_inode(inode) || NFS_STALE(inode)) | 244 | if (is_bad_inode(inode) || NFS_STALE(inode)) |