Skip to content

Commit 1f52aa0

Browse files
andypriceAl Viro
authored andcommitted
gfs2: Convert gfs2 to fs_context
Convert gfs2 and gfs2meta to fs_context. Removes the duplicated vfs code from gfs2_mount and instead uses the new vfs_get_block_super() before switching the ->root to the appropriate dentry. The mount option parsing has been converted to the new API and error reporting for invalid options has been made more precise at the same time. All of the mount/remount code has been moved into ops_fstype.c Signed-off-by: Andrew Price <[email protected]> Signed-off-by: David Howells <[email protected]> cc: [email protected] Signed-off-by: Al Viro <[email protected]>
1 parent d2e0981 commit 1f52aa0

File tree

4 files changed

+380
-459
lines changed

4 files changed

+380
-459
lines changed

fs/gfs2/incore.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -584,10 +584,10 @@ struct gfs2_args {
584584
unsigned int ar_rgrplvb:1; /* use lvbs for rgrp info */
585585
unsigned int ar_loccookie:1; /* use location based readdir
586586
cookies */
587-
int ar_commit; /* Commit interval */
588-
int ar_statfs_quantum; /* The fast statfs interval */
589-
int ar_quota_quantum; /* The quota interval */
590-
int ar_statfs_percent; /* The % change to force sync */
587+
s32 ar_commit; /* Commit interval */
588+
s32 ar_statfs_quantum; /* The fast statfs interval */
589+
s32 ar_quota_quantum; /* The quota interval */
590+
s32 ar_statfs_percent; /* The % change to force sync */
591591
};
592592

593593
struct gfs2_tune {

0 commit comments

Comments
 (0)