aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_da_btree.c
diff options
context:
space:
mode:
authorPavel Shilovsky <piastryyy@gmail.com>2011-07-25 17:59:10 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-25 14:23:21 -0400
commit3ca30d40a91fb9b9871e61d5dea2c1a895906a15 (patch)
tree2d0af7b870f0c56a4b81938a65276565e8b0ac2b /fs/xfs/xfs_da_btree.c
parentxfs: Fix wrong return value of xfs_file_aio_write (diff)
downloadlinux-dev-3ca30d40a91fb9b9871e61d5dea2c1a895906a15.tar.xz
linux-dev-3ca30d40a91fb9b9871e61d5dea2c1a895906a15.zip
CIFS: Fix oops while mounting with prefixpath
commit fec11dd9a0109fe52fd631e5c510778d6cbff6cc caused a regression when we have already mounted //server/share/a and want to mount //server/share/a/b. The problem is that lookup_one_len calls __lookup_hash with nd pointer as NULL. Then __lookup_hash calls do_revalidate in the case when dentry exists and we end up with NULL pointer deference in cifs_d_revalidate: if (nd->flags & LOOKUP_RCU) return -ECHILD; Fix this by checking nd for NULL. Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/xfs/xfs_da_btree.c')
0 files changed, 0 insertions, 0 deletions