projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3689d7
)
[XFS] Remove d_add call for an ENOENT lookup return code
author
Barry Naujok
<bnaujok@sgi.com>
Thu, 22 May 2008 07:21:40 +0000
(17:21 +1000)
committer
Niv Sardi
<xaiki@debian.org>
Mon, 28 Jul 2008 06:58:44 +0000
(16:58 +1000)
SGI-PV: 981521
SGI-Modid: xfs-linux-melb:xfs-kern:31214a
Signed-off-by: Barry Naujok <bnaujok@sgi.com>
Signed-off-by: David Chinner <dgc@sgi.com>
fs/xfs/linux-2.6/xfs_iops.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/linux-2.6/xfs_iops.c
b/fs/xfs/linux-2.6/xfs_iops.c
index 9f0f8ee8d44d06dec852f0a245afab40c8956497..62330f2839519b276bea5f161144630a0e2c0f3a 100644
(file)
--- a/
fs/xfs/linux-2.6/xfs_iops.c
+++ b/
fs/xfs/linux-2.6/xfs_iops.c
@@
-413,7
+413,11
@@
xfs_vn_ci_lookup(
if (unlikely(error)) {
if (unlikely(error != ENOENT))
return ERR_PTR(-error);
- d_add(dentry, NULL);
+ /*
+ * call d_add(dentry, NULL) here when d_drop_negative_children
+ * is called in xfs_vn_mknod (ie. allow negative dentries
+ * with CI filesystems).
+ */
return NULL;
}