aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-10-30 02:55:18 -0400
committerLachlan McIlroy <lachlan@sgi.com>2008-10-30 02:55:18 -0400
commit2b7035fd7473c799ca3372092d72c768c7db329d (patch)
tree273f847f302f183cc20c6a2a7e7b6c971790dae2 /fs/xfs
parent1ec7944beb6f3c29f1e58a66422130133727e9e1 (diff)
[XFS] Trivial xfs_remove comment fixup
The dp to ip comment should be for the unconditional xfs_droplink call, and the "." link obviously only exists for directories, so it should be in the is_dir conditional. SGI-PV: 987246 SGI-Modid: xfs-linux-melb:xfs-kern:32374a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Donald Douwsma <donaldd@sgi.com> Signed-off-by: David Chinner <david@fromorbit.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_vnodeops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c
index 1d15a320b9a6..1c890113ab3e 100644
--- a/fs/xfs/xfs_vnodeops.c
+++ b/fs/xfs/xfs_vnodeops.c
@@ -2009,7 +2009,7 @@ xfs_remove(
2009 goto out_bmap_cancel; 2009 goto out_bmap_cancel;
2010 2010
2011 /* 2011 /*
2012 * Drop the link from dp to ip. 2012 * Drop the "." link from ip to self.
2013 */ 2013 */
2014 error = xfs_droplink(tp, ip); 2014 error = xfs_droplink(tp, ip);
2015 if (error) 2015 if (error)
@@ -2024,7 +2024,7 @@ xfs_remove(
2024 } 2024 }
2025 2025
2026 /* 2026 /*
2027 * Drop the "." link from ip to self. 2027 * Drop the link from dp to ip.
2028 */ 2028 */
2029 error = xfs_droplink(tp, ip); 2029 error = xfs_droplink(tp, ip);
2030 if (error) 2030 if (error)