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) | |
download | linux-3.10-5e2b0613ed9f9641937dd5948051631249447c57.tar.gz linux-3.10-5e2b0613ed9f9641937dd5948051631249447c57.tar.bz2 linux-3.10-5e2b0613ed9f9641937dd5948051631249447c57.zip |
[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 0c92c52fc92..1a30fa9bec7 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) gfs2_ail_empty_gl(gl); } - clear_bit(GLF_SYNC, &gl->gl_flags); } /** @@ -236,7 +235,6 @@ static void inode_go_sync(struct gfs2_glock *gl, int flags) gfs2_ail_empty_gl(gl); } - clear_bit(GLF_SYNC, &gl->gl_flags); } /** |