diff options
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r-- | fs/nfs/inode.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 119fefef13f3..3ad938cecd73 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -450,8 +450,10 @@ int nfs_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) | |||
450 | err = __nfs_revalidate_inode(NFS_SERVER(inode), inode); | 450 | err = __nfs_revalidate_inode(NFS_SERVER(inode), inode); |
451 | else | 451 | else |
452 | err = nfs_revalidate_inode(NFS_SERVER(inode), inode); | 452 | err = nfs_revalidate_inode(NFS_SERVER(inode), inode); |
453 | if (!err) | 453 | if (!err) { |
454 | generic_fillattr(inode, stat); | 454 | generic_fillattr(inode, stat); |
455 | stat->ino = NFS_FILEID(inode); | ||
456 | } | ||
455 | return err; | 457 | return err; |
456 | } | 458 | } |
457 | 459 | ||