diff options
-rw-r--r-- | fs/xfs/linux-2.6/xfs_iops.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_iops.c b/fs/xfs/linux-2.6/xfs_iops.c index 9f0f8ee8d44d..62330f283951 100644 --- 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( | |||
413 | if (unlikely(error)) { | 413 | if (unlikely(error)) { |
414 | if (unlikely(error != ENOENT)) | 414 | if (unlikely(error != ENOENT)) |
415 | return ERR_PTR(-error); | 415 | return ERR_PTR(-error); |
416 | d_add(dentry, NULL); | 416 | /* |
417 | * call d_add(dentry, NULL) here when d_drop_negative_children | ||
418 | * is called in xfs_vn_mknod (ie. allow negative dentries | ||
419 | * with CI filesystems). | ||
420 | */ | ||
417 | return NULL; | 421 | return NULL; |
418 | } | 422 | } |
419 | 423 | ||