diff options
author | Joel Becker <joel.becker@oracle.com> | 2006-05-10 18:28:59 -0700 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-06-29 14:48:30 -0700 |
commit | 2b388c67906ee8cd3bf1a600a7023cd0807d414f (patch) | |
tree | 9c03bb07a2a6e467fb9219e8c98fea1a5cec71de /fs/ocfs2/dir.c | |
parent | e7515d065d09f6450c996a8fa206ad66569e183c (diff) | |
download | linux-2b388c67906ee8cd3bf1a600a7023cd0807d414f.tar.gz linux-2b388c67906ee8cd3bf1a600a7023cd0807d414f.tar.bz2 linux-2b388c67906ee8cd3bf1a600a7023cd0807d414f.zip |
ocfs2: Compile-time disabling of ocfs2 debugging output.
Give gcc the chance to compile out the debug logging code in ocfs2.
This saves some size at the expense of being able to debug the code.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/dir.c')
-rw-r--r-- | fs/ocfs2/dir.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c index ae47f450792f..3d494d1a5f36 100644 --- a/fs/ocfs2/dir.c +++ b/fs/ocfs2/dir.c @@ -213,11 +213,9 @@ int ocfs2_find_files_on_disk(const char *name, struct ocfs2_dir_entry **dirent) { int status = -ENOENT; - struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); - mlog_entry("(osb=%p, parent=%llu, name='%.*s', blkno=%p, inode=%p)\n", - osb, (unsigned long long)OCFS2_I(inode)->ip_blkno, - namelen, name, blkno, inode); + mlog_entry("(name=%.*s, blkno=%p, inode=%p, dirent_bh=%p, dirent=%p)\n", + namelen, name, blkno, inode, dirent_bh, dirent); *dirent_bh = ocfs2_find_entry(name, namelen, inode, dirent); if (!*dirent_bh || !*dirent) { |