aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/watchdog.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2015-04-14 15:43:52 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-14 16:48:58 -0700
commit1d5b897706d11ac59fecd85ba7b1cbf91c44fe50 (patch)
treed49f88710c1cb512458dce9f96d01a6cbd926389 /kernel/watchdog.c
parentocfs2: check if the ocfs2 lock resource has been initialized before calling ocfs2_dlm_lock (diff)
downloadlinux-dev-1d5b897706d11ac59fecd85ba7b1cbf91c44fe50.tar.xz
linux-dev-1d5b897706d11ac59fecd85ba7b1cbf91c44fe50.zip
ocfs2: make mlog_errno return the errno
ocfs2 does mlog_errno(v); return v; in many places. Change mlog_errno() so we can do return mlog_errno(v); For some weird reason this patch reduces the size of ocfs2 by 6k: akpm3:/usr/src/25> size fs/ocfs2/ocfs2.ko text data bss dec hex filename 1146613 82767 832192 2061572 1f7504 fs/ocfs2/ocfs2.ko-before 1140857 82767 832192 2055816 1f5e88 fs/ocfs2/ocfs2.ko-after [dan.carpenter@oracle.com: double evaluation concerns in mlog_errno()] Cc: Mark Fasheh <mfasheh@suse.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: alex chen <alex.chen@huawei.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/watchdog.c')
0 files changed, 0 insertions, 0 deletions