[GFS2] Remove unused GL_DUMP flag [31/70]



From c594d8866460a2710c436839d79f334a0714a2a7 Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <swhiteho@xxxxxxxxxx>
Date: Wed, 8 Nov 2006 09:01:13 -0500
Subject: [PATCH] [GFS2] Remove unused GL_DUMP flag

There is no way to set the GL_DUMP flag, and in any case the
same thing can be done with systemtap if required for debugging,
so this removes it.

Signed-off-by: Steven Whitehouse <swhiteho@xxxxxxxxxx>
---
fs/gfs2/glock.c | 3 ---
fs/gfs2/glock.h | 1 -
2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index 44633c4..746347a 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -1244,9 +1244,6 @@ restart:

clear_bit(GLF_PREFETCH, &gl->gl_flags);

- if (error == GLR_TRYFAILED && (gh->gh_flags & GL_DUMP))
- dump_glock(gl);
-
return error;
}

diff --git a/fs/gfs2/glock.h b/fs/gfs2/glock.h
index 2b2a889..b985627 100644
--- a/fs/gfs2/glock.h
+++ b/fs/gfs2/glock.h
@@ -28,7 +28,6 @@ #define GL_ATIME 0x00000200
#define GL_NOCACHE 0x00000400
#define GL_NOCANCEL 0x00001000
#define GL_AOP 0x00004000
-#define GL_DUMP 0x00008000

#define GLR_TRYFAILED 13
#define GLR_CANCELED 14
--
1.4.1



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH] support O_DIRECT in tmpfs/ramfs
    ... Maybe I misunderstand your patch, but when I tried it on my blackfin ... Error is because O_DIRECT flag was set when call open. ... if tmpfs chooses to be liberal. ... > fix just that as soon as you can. ...
    (Linux-Kernel)
  • Re: d_splice_alias() problem.
    ... > This was intentional and the patch to clear DCACHE_DISCONNECTED is not ... After reading your comments below the semantics of the flag ... Lazy clearing is good. ... > less choosy: any alias will do. ...
    (Linux-Kernel)
  • Re: [PATCH -mm 17/25] Mlocked Pages are non-reclaimable
    ... accounting of mlock'd pages, as Nick's original patch ... restored the PG_mlocked flag to eliminate the new ... * munlock all pages in vma. ... Page not on the LRU yet. ...
    (Linux-Kernel)
  • Re: 2.6.1: media change check fails for busy unplugged device
    ... >> that as soon as the last check is done the device state has not changed. ... The sdev->online flag was left as is when the device state model was ... but prior to running the command. ... The patch changed the result return by the ioctl from ...
    (Linux-Kernel)
  • Re: [PATCH] make-cancel_rearming_delayed_work-reliable-fix
    ... but this needs another patch not related to ... all this made per cpu. ... than one loop of one cpu workqueue to cancel any "normal" work ... _PENDING flag is overloaded here and one flag still free. ...
    (Linux-Kernel)