]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix an Oops in nfs_setattr()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 14 Apr 2007 23:07:28 +0000 (19:07 -0400)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 15 Apr 2007 04:46:47 +0000 (21:46 -0700)
commit8ed62e031cb11fce51ba5f1340d195118da0a92a
tree344af8502076a414c7b579bc33e0c98f21a20b2c
parenta8b2688271fd1f8c6d0cf5baa85c727ccfada070
NFS: Fix an Oops in nfs_setattr()

It looks like nfs_setattr() and nfs_rename() also need to test whether the
target is a regular file before calling nfs_wb_all()...

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfs/dir.c
fs/nfs/inode.c