diff options
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r-- | fs/nfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index a38d4b22d1f8..a82f0340744f 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -686,7 +686,7 @@ nfs_fhget(struct super_block *sb, struct nfs_fh *fh, struct nfs_fattr *fattr) | |||
686 | /* Why so? Because we want revalidate for devices/FIFOs, and | 686 | /* Why so? Because we want revalidate for devices/FIFOs, and |
687 | * that's precisely what we have in nfs_file_inode_operations. | 687 | * that's precisely what we have in nfs_file_inode_operations. |
688 | */ | 688 | */ |
689 | inode->i_op = &nfs_file_inode_operations; | 689 | inode->i_op = NFS_SB(sb)->rpc_ops->file_inode_ops; |
690 | if (S_ISREG(inode->i_mode)) { | 690 | if (S_ISREG(inode->i_mode)) { |
691 | inode->i_fop = &nfs_file_operations; | 691 | inode->i_fop = &nfs_file_operations; |
692 | inode->i_data.a_ops = &nfs_file_aops; | 692 | inode->i_data.a_ops = &nfs_file_aops; |