]> err.no Git - linux-2.6/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)
commite1552e199857109d4b25b9163eff4646726eee3d
tree344af8502076a414c7b579bc33e0c98f21a20b2c
parentc9c57929d23e44f258d1b6e7f089e72c85f0bd1c
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