]> Pileus Git - ~andy/linux/blobdiff - fs/ocfs2/symlink.c
Staging: rtl8192u: ieee80211: Makefile: remove unneeded stuff
[~andy/linux] / fs / ocfs2 / symlink.c
index 8a81688c57dfc3f9b9bc86881e9d5d937a394bb8..5d22872e2bb36012b711ac7720a90bee24717b15 100644 (file)
@@ -40,7 +40,6 @@
 #include <linux/pagemap.h>
 #include <linux/namei.h>
 
-#define MLOG_MASK_PREFIX ML_NAMEI
 #include <cluster/masklog.h>
 
 #include "ocfs2.h"
@@ -72,7 +71,6 @@ static char *ocfs2_fast_symlink_getlink(struct inode *inode,
        fe = (struct ocfs2_dinode *) (*bh)->b_data;
        link = (char *) fe->id2.i_symlink;
 bail:
-       mlog_exit(status);
 
        return link;
 }
@@ -100,7 +98,8 @@ static int ocfs2_readlink(struct dentry *dentry,
 
        brelse(bh);
 out:
-       mlog_exit(ret);
+       if (ret < 0)
+               mlog_errno(ret);
        return ret;
 }
 
@@ -136,7 +135,8 @@ bail:
        nd_set_link(nd, status ? ERR_PTR(status) : link);
        brelse(bh);
 
-       mlog_exit(status);
+       if (status)
+               mlog_errno(status);
        return NULL;
 }