aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJ. R. Okajima <hooanon05@yahoo.co.jp>2011-01-14 03:56:04 +0000
committerNick Piggin <npiggin@kernel.dk>2011-01-14 03:56:04 +0000
commitf20877d94a74557b7c28b4ed8920d834c31e0ea5 (patch)
tree88ea4019a1a8a0a3b8c2f24479ec44b353928f3f /Documentation
parent657e94b673a805b427903c5628e95348235fad06 (diff)
downloadkernel_samsung_crespo-f20877d94a74557b7c28b4ed8920d834c31e0ea5.zip
kernel_samsung_crespo-f20877d94a74557b7c28b4ed8920d834c31e0ea5.tar.gz
kernel_samsung_crespo-f20877d94a74557b7c28b4ed8920d834c31e0ea5.tar.bz2
fs: fix do_last error case when need_reval_dot
When open(2) without O_DIRECTORY opens an existing dir, it should return EISDIR. In do_last(), the variable 'error' is initialized EISDIR, but it is changed by d_revalidate() which returns any positive to represent 'the target dir is valid.' Should we keep and return the initialized 'error' in this case. Signed-off-by: Nick Piggin <npiggin@kernel.dk>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions