projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91f68b7
)
generic swap(): ext3: remove local swap() macro
author
Wu Fengguang
<fengguang.wu@intel.com>
Thu, 8 Jan 2009 02:09:12 +0000
(18:09 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 8 Jan 2009 16:31:15 +0000
(08:31 -0800)
Use the new generic implementation.
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext3/namei.c
patch
|
blob
|
history
diff --git
a/fs/ext3/namei.c
b/fs/ext3/namei.c
index 1dd2abe6313e3b656f42af6e2ebd63e2ec02a98c..8d6f965e502cd9d56969fefcf347dbeec37a42c7 100644
(file)
--- a/
fs/ext3/namei.c
+++ b/
fs/ext3/namei.c
@@
-74,10
+74,6
@@
static struct buffer_head *ext3_append(handle_t *handle,
#define assert(test) J_ASSERT(test)
#endif
-#ifndef swap
-#define swap(x, y) do { typeof(x) z = x; x = y; y = z; } while (0)
-#endif
-
#ifdef DX_DEBUG
#define dxtrace(command) command
#else