aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/sys.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-01-25 11:39:18 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2008-01-25 11:39:18 -0500
commite07dd2ad305f6b29b47d713600aa8b722ef2a9f7 (patch)
tree4815808e538ec625bf2766b1eb9d91c7b3beaead /fs/gfs2/sys.c
parenteba0e319c12fb098d66316a8eafbaaa9174a07c3 (diff)
parent7bc5c414fe6627ec518c82d154c796f0981f5b02 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-nmw
* git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-nmw: (56 commits) [GFS2] Allow journal recovery on read-only mount [GFS2] Lockup on error [GFS2] Fix page_mkwrite truncation race path [GFS2] Fix typo [GFS2] Fix write alloc required shortcut calculation [GFS2] gfs2_alloc_required performance [GFS2] Remove unneeded i_spin [GFS2] Reduce inode size by moving i_alloc out of line [GFS2] Fix assert in log code [GFS2] Fix problems relating to execution of files on GFS2 [GFS2] Initialize extent_list earlier [GFS2] Allow page migration for writeback and ordered pages [GFS2] Remove unused variable [GFS2] Fix log block mapper [GFS2] Minor correction [GFS2] Eliminate the no longer needed sd_statfs_mutex [GFS2] Incremental patch to fix compiler warning [GFS2] Function meta_read optimization [GFS2] Only fetch the dinode once in block_map [GFS2] Reorganize function gfs2_glmutex_lock ...
Diffstat (limited to 'fs/gfs2/sys.c')
-rw-r--r--fs/gfs2/sys.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c
index 3a3176b846f3..eaa3b7b2f99e 100644
--- a/fs/gfs2/sys.c
+++ b/fs/gfs2/sys.c
@@ -32,7 +32,8 @@ spinlock_t gfs2_sys_margs_lock;
32 32
33static ssize_t id_show(struct gfs2_sbd *sdp, char *buf) 33static ssize_t id_show(struct gfs2_sbd *sdp, char *buf)
34{ 34{
35 return snprintf(buf, PAGE_SIZE, "%s\n", sdp->sd_vfs->s_id); 35 return snprintf(buf, PAGE_SIZE, "%u:%u\n",
36 MAJOR(sdp->sd_vfs->s_dev), MINOR(sdp->sd_vfs->s_dev));
36} 37}
37 38
38static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf) 39static ssize_t fsname_show(struct gfs2_sbd *sdp, char *buf)
@@ -425,13 +426,11 @@ TUNE_ATTR_2(name, name##_store)
425TUNE_ATTR(demote_secs, 0); 426TUNE_ATTR(demote_secs, 0);
426TUNE_ATTR(incore_log_blocks, 0); 427TUNE_ATTR(incore_log_blocks, 0);
427TUNE_ATTR(log_flush_secs, 0); 428TUNE_ATTR(log_flush_secs, 0);
428TUNE_ATTR(jindex_refresh_secs, 0);
429TUNE_ATTR(quota_warn_period, 0); 429TUNE_ATTR(quota_warn_period, 0);
430TUNE_ATTR(quota_quantum, 0); 430TUNE_ATTR(quota_quantum, 0);
431TUNE_ATTR(atime_quantum, 0); 431TUNE_ATTR(atime_quantum, 0);
432TUNE_ATTR(max_readahead, 0); 432TUNE_ATTR(max_readahead, 0);
433TUNE_ATTR(complain_secs, 0); 433TUNE_ATTR(complain_secs, 0);
434TUNE_ATTR(reclaim_limit, 0);
435TUNE_ATTR(statfs_slow, 0); 434TUNE_ATTR(statfs_slow, 0);
436TUNE_ATTR(new_files_jdata, 0); 435TUNE_ATTR(new_files_jdata, 0);
437TUNE_ATTR(new_files_directio, 0); 436TUNE_ATTR(new_files_directio, 0);
@@ -448,13 +447,11 @@ static struct attribute *tune_attrs[] = {
448 &tune_attr_demote_secs.attr, 447 &tune_attr_demote_secs.attr,
449 &tune_attr_incore_log_blocks.attr, 448 &tune_attr_incore_log_blocks.attr,
450 &tune_attr_log_flush_secs.attr, 449 &tune_attr_log_flush_secs.attr,
451 &tune_attr_jindex_refresh_secs.attr,
452 &tune_attr_quota_warn_period.attr, 450 &tune_attr_quota_warn_period.attr,
453 &tune_attr_quota_quantum.attr, 451 &tune_attr_quota_quantum.attr,
454 &tune_attr_atime_quantum.attr, 452 &tune_attr_atime_quantum.attr,
455 &tune_attr_max_readahead.attr, 453 &tune_attr_max_readahead.attr,
456 &tune_attr_complain_secs.attr, 454 &tune_attr_complain_secs.attr,
457 &tune_attr_reclaim_limit.attr,
458 &tune_attr_statfs_slow.attr, 455 &tune_attr_statfs_slow.attr,
459 &tune_attr_quota_simul_sync.attr, 456 &tune_attr_quota_simul_sync.attr,
460 &tune_attr_quota_cache_secs.attr, 457 &tune_attr_quota_cache_secs.attr,