aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/glops.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-08-30 09:38:30 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-08-30 09:38:30 -0400
commit5e2b0613ed9f9641937dd5948051631249447c57 (patch)
tree2bccd88b4303e7917824cef45aabbe43cd0d93c2 /fs/gfs2/glops.c
parent8fb4b536e7b9dbaf7a6b8204e887b92a14e4352c (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.c2
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);
}
/**