diff options
| author | Jeff Layton <[email protected]> | 2009-04-17 15:45:30 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2009-04-17 21:08:15 +0000 |
| commit | fc6f394332ef1bf6ff5fbeaba0f2cd7a3c7971b6 (patch) | |
| tree | 86cccb6f28f84355d348bad27fa55d5c377d6660 /fs/jbd2/commit.c | |
| parent | cifs: remove unneeded bcc_ptr update in CIFSTCon (diff) | |
| download | kernel-fc6f394332ef1bf6ff5fbeaba0f2cd7a3c7971b6.tar.gz kernel-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 <[email protected]>
Tested-by: Shirish Pargaonkar <[email protected]>
CC: Stable <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
