]> Git Repo - linux.git/commit
[PATCH] nfs: nfs_getattr() can't call nfs_sync_mapping_range() for non-regular files
authorTrond Myklebust <[email protected]>
Fri, 16 Mar 2007 21:38:28 +0000 (13:38 -0800)
committerLinus Torvalds <[email protected]>
Sat, 17 Mar 2007 02:25:06 +0000 (19:25 -0700)
commit634707388baa440d9c9d082cfc4c950500c8952b
tree0d3075c34a69a2d4c5c3d5682fd6a0d26bff28e9
parent89a09141df6ac1c3821fbe44ca8384eb37692965
[PATCH] nfs: nfs_getattr() can't call nfs_sync_mapping_range() for non-regular files

Looks like we need a check in nfs_getattr() for a regular file. It makes
no sense to call nfs_sync_mapping_range() on anything else. I think that
should fix your problem: it will stop the NFS client from interfering
with dirty pages on that inode's mapping.

Signed-off-by: Trond Myklebust <[email protected]>
Acked-by: Olof Johansson <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/nfs/inode.c
This page took 0.050819 seconds and 4 git commands to generate.