diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-08-30 09:38:30 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-08-30 09:38:30 -0400 |
commit | 5e2b0613ed9f9641937dd5948051631249447c57 (patch) | |
tree | 2bccd88b4303e7917824cef45aabbe43cd0d93c2 /fs/gfs2/glops.c | |
parent | 8fb4b536e7b9dbaf7a6b8204e887b92a14e4352c (diff) |
[GFS2] Remove unused code from glock layer
Remove the unused sync feature from glocks. This is currently done by
calling the required functions to sync pages/blocks directly so this
code isn't needed.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glops.c')
-rw-r--r-- | fs/gfs2/glops.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/glops.c b/fs/gfs2/glops.c index 0c92c52fc92a..1a30fa9bec7a 100644 --- a/fs/gfs2/glops.c +++ b/fs/gfs2/glops.c | |||
@@ -137,7 +137,6 @@ static void meta_go_sync(struct gfs2_glock *gl, int flags) | |||
137 | gfs2_ail_empty_gl(gl); | 137 | gfs2_ail_empty_gl(gl); |
138 | } | 138 | } |
139 | 139 | ||
140 | clear_bit(GLF_SYNC, &gl->gl_flags); | ||
141 | } | 140 | } |
142 | 141 | ||
143 | /** | 142 | /** |
@@ -236,7 +235,6 @@ static void inode_go_sync(struct gfs2_glock *gl, int flags) | |||
236 | gfs2_ail_empty_gl(gl); | 235 | gfs2_ail_empty_gl(gl); |
237 | } | 236 | } |
238 | 237 | ||
239 | clear_bit(GLF_SYNC, &gl->gl_flags); | ||
240 | } | 238 | } |
241 | 239 | ||
242 | /** | 240 | /** |