Loading fs/nfs/inode.c +2 −0 Original line number Diff line number Diff line Loading @@ -649,7 +649,9 @@ int nfs_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) trace_nfs_getattr_enter(inode); /* Flush out writes to the server in order to update c/mtime. */ if (S_ISREG(inode->i_mode)) { mutex_lock(&inode->i_mutex); err = nfs_sync_inode(inode); mutex_unlock(&inode->i_mutex); if (err) goto out; } Loading Loading
fs/nfs/inode.c +2 −0 Original line number Diff line number Diff line Loading @@ -649,7 +649,9 @@ int nfs_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) trace_nfs_getattr_enter(inode); /* Flush out writes to the server in order to update c/mtime. */ if (S_ISREG(inode->i_mode)) { mutex_lock(&inode->i_mutex); err = nfs_sync_inode(inode); mutex_unlock(&inode->i_mutex); if (err) goto out; } Loading