aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 662182bfbff7..55c72f01cf31 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -241,7 +241,6 @@ struct gfs2_alloc {
241enum { 241enum {
242 GIF_INVALID = 0, 242 GIF_INVALID = 0,
243 GIF_QD_LOCKED = 1, 243 GIF_QD_LOCKED = 1,
244 GIF_PAGED = 2,
245 GIF_SW_PAGED = 3, 244 GIF_SW_PAGED = 3,
246}; 245};
247 246
@@ -289,19 +288,12 @@ static inline struct gfs2_inode *GFS2_I(struct inode *inode)
289 return container_of(inode, struct gfs2_inode, i_inode); 288 return container_of(inode, struct gfs2_inode, i_inode);
290} 289}
291 290
292/* To be removed? */
293static inline struct gfs2_sbd *GFS2_SB(struct inode *inode) 291static inline struct gfs2_sbd *GFS2_SB(struct inode *inode)
294{ 292{
295 return inode->i_sb->s_fs_info; 293 return inode->i_sb->s_fs_info;
296} 294}
297 295
298enum {
299 GFF_DID_DIRECT_ALLOC = 0,
300 GFF_EXLOCK = 1,
301};
302
303struct gfs2_file { 296struct gfs2_file {
304 unsigned long f_flags; /* GFF_... */
305 struct mutex f_fl_mutex; 297 struct mutex f_fl_mutex;
306 struct gfs2_holder f_fl_gh; 298 struct gfs2_holder f_fl_gh;
307}; 299};