diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 22:12:12 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 22:12:12 -0500 |
commit | 0b61a2ba5dfd1620731e717d686e6ade657fd975 (patch) | |
tree | dea84efd43934a7d6139048f87c4ba86d68d4b6d /fs/xfs/xfs_rename.c | |
parent | a13ff0bb3feda8b1fcffc69951320277ed7c4101 (diff) | |
parent | de2eeea609b55e8c3994133a565b39edeaaaaf69 (diff) |
Merge branch 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6
* 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6: (62 commits)
[XFS] add __init/__exit mark to specific init/cleanup functions
[XFS] Fix oops in xfs_file_readdir()
[XFS] kill xfs_root
[XFS] keep i_nlink updated and use proper accessors
[XFS] stop updating inode->i_blocks
[XFS] Make xfs_ail_check check less by default
[XFS] Move AIL pushing into it's own thread
[XFS] use generic_permission
[XFS] stop re-checking permissions in xfs_swapext
[XFS] clean up xfs_swapext
[XFS] remove permission check from xfs_change_file_space
[XFS] prevent panic during log recovery due to bogus op_hdr length
[XFS] Cleanup various fid related bits:
[XFS] Fix xfs_lowbit64
[XFS] Remove CFORK macros and use code directly in IFORK and DFORK macros.
[XFS] kill superflous buffer locking (2nd attempt)
[XFS] Use kernel-supplied "roundup_pow_of_two" for simplicity
[XFS] Remove the BPCSHIFT and NB* based macros from XFS.
[XFS] Remove bogus assert
[XFS] optimize XFS_IS_REALTIME_INODE w/o realtime config
...
Diffstat (limited to 'fs/xfs/xfs_rename.c')
-rw-r--r-- | fs/xfs/xfs_rename.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/xfs/xfs_rename.c b/fs/xfs/xfs_rename.c index 44ea0ba36476..7eb157a59f9e 100644 --- a/fs/xfs/xfs_rename.c +++ b/fs/xfs/xfs_rename.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include "xfs_refcache.h" | 39 | #include "xfs_refcache.h" |
40 | #include "xfs_utils.h" | 40 | #include "xfs_utils.h" |
41 | #include "xfs_trans_space.h" | 41 | #include "xfs_trans_space.h" |
42 | #include "xfs_vnodeops.h" | ||
42 | 43 | ||
43 | 44 | ||
44 | /* | 45 | /* |
@@ -118,7 +119,7 @@ xfs_lock_for_rename( | |||
118 | inum1 = ip1->i_ino; | 119 | inum1 = ip1->i_ino; |
119 | 120 | ||
120 | ASSERT(ip1); | 121 | ASSERT(ip1); |
121 | ITRACE(ip1); | 122 | xfs_itrace_ref(ip1); |
122 | 123 | ||
123 | /* | 124 | /* |
124 | * Unlock dp1 and lock dp2 if they are different. | 125 | * Unlock dp1 and lock dp2 if they are different. |
@@ -141,7 +142,7 @@ xfs_lock_for_rename( | |||
141 | IRELE (ip1); | 142 | IRELE (ip1); |
142 | return error; | 143 | return error; |
143 | } else { | 144 | } else { |
144 | ITRACE(ip2); | 145 | xfs_itrace_ref(ip2); |
145 | } | 146 | } |
146 | 147 | ||
147 | /* | 148 | /* |
@@ -247,8 +248,8 @@ xfs_rename( | |||
247 | int src_namelen = VNAMELEN(src_vname); | 248 | int src_namelen = VNAMELEN(src_vname); |
248 | int target_namelen = VNAMELEN(target_vname); | 249 | int target_namelen = VNAMELEN(target_vname); |
249 | 250 | ||
250 | vn_trace_entry(src_dp, "xfs_rename", (inst_t *)__return_address); | 251 | xfs_itrace_entry(src_dp); |
251 | vn_trace_entry(xfs_vtoi(target_dir_vp), "xfs_rename", (inst_t *)__return_address); | 252 | xfs_itrace_entry(xfs_vtoi(target_dir_vp)); |
252 | 253 | ||
253 | /* | 254 | /* |
254 | * Find the XFS behavior descriptor for the target directory | 255 | * Find the XFS behavior descriptor for the target directory |