summaryrefslogtreecommitdiffstats
path: root/fs/xattr_acl.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-04-17 11:45:30 -0400
committerSteve French <sfrench@us.ibm.com>2009-04-17 21:08:15 +0000
commitfc6f394332ef1bf6ff5fbeaba0f2cd7a3c7971b6 (patch)
tree86cccb6f28f84355d348bad27fa55d5c377d6660 /fs/xattr_acl.c
parent22c9d52bc03b880045ab1081890a38f11b272ae7 (diff)
downloadtalos-op-linux-fc6f394332ef1bf6ff5fbeaba0f2cd7a3c7971b6.tar.gz
talos-op-linux-fc6f394332ef1bf6ff5fbeaba0f2cd7a3c7971b6.zip
cifs: when renaming don't try to unlink negative dentry
When attempting to rename a file on a read-only share, the kernel can call cifs_unlink on a negative dentry, which causes an oops. Only try to unlink the file if it's a positive dentry. Signed-off-by: Jeff Layton <jlayton@redhat.com> Tested-by: Shirish Pargaonkar <shirishp@us.ibm.com> CC: Stable <stable@vger.kernel.org> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/xattr_acl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud