summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndries E. Brouwer <andries.brouwer@cwi.nl>2003-05-25 01:20:42 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-25 01:20:42 -0700
commit4e5405e509ceb011be76d1743d0190c74cbde097 (patch)
tree5c42c89df51daa2da381e7ab21962b841265e056 /include
parentcc3f87745f50415117d346e2d769805d33d00bd9 (diff)
[PATCH] namespace.c fix
Yet another one in the namespace.c series. The code in graft_tree() used to be correct, but the code err = -ENOENT; down(&nd->dentry->d_inode->i_sem); if (IS_DEADDIR(nd->dentry->d_inode)) goto out_unlock; spin_lock(&dcache_lock); if (IS_ROOT(nd->dentry) || !d_unhashed(nd->dentry)) { ... } spin_unlock(&dcache_lock); out_unlock: was made incorrect in 2.5.29 when err = security_sb_check_sb(mnt, nd); if (err) goto out_unlock; was inserted. It has happened more often that people overlooked a preexisting setting of err.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions