diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-03-28 14:14:04 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-03-28 14:14:04 -0500 |
commit | 71b86f562b5eb6f94ea00bba060caa64d0137969 (patch) | |
tree | 63d982e09a9cb934fe656afe115031c0a9dc5e4a /fs/gfs2/util.h | |
parent | 94aabbd99370f738da4f6cb4ea0b94cd9024002f (diff) |
[GFS2] Further updates to dir and logging code
This reduces the size of the directory code by about 3k and gets
readdir() to use the functions which were introduced in the previous
directory code update.
Two memory allocations are merged into one. Eliminates zeroing of some
buffers which were never used before they were initialised by
other data.
There is still scope for further improvement in the directory code.
On the logging side, a hand created mutex has been replaced by a
standard Linux mutex in the log allocation code.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/util.h')
-rw-r--r-- | fs/gfs2/util.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/util.h b/fs/gfs2/util.h index 8d6eba3bdf0a..addbe304993e 100644 --- a/fs/gfs2/util.h +++ b/fs/gfs2/util.h | |||
@@ -10,8 +10,6 @@ | |||
10 | #ifndef __UTIL_DOT_H__ | 10 | #ifndef __UTIL_DOT_H__ |
11 | #define __UTIL_DOT_H__ | 11 | #define __UTIL_DOT_H__ |
12 | 12 | ||
13 | uint32_t gfs2_disk_hash(const char *data, int len); | ||
14 | |||
15 | 13 | ||
16 | #define fs_printk(level, fs, fmt, arg...) \ | 14 | #define fs_printk(level, fs, fmt, arg...) \ |
17 | printk(level "GFS2: fsid=%s: " fmt , (fs)->sd_fsname , ## arg) | 15 | printk(level "GFS2: fsid=%s: " fmt , (fs)->sd_fsname , ## arg) |