aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_umount.c
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@austin.ibm.com>2006-10-02 10:55:27 -0400
committerDave Kleikamp <shaggy@austin.ibm.com>2006-10-02 10:55:27 -0400
commit63f83c9fcf40ab61b75edf5d2f2c1ae6bf876482 (patch)
tree405671dca4a5a2b109112306734223d9dd0dcfbb /fs/jfs/jfs_umount.c
parent087387f90f577f5a0ab68d33ef326c9bb6d80dda (diff)
JFS: White space cleanup
Removed trailing spaces & tabs, and spaces preceding tabs. Also a couple very minor comment cleanups. Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> (cherry picked from f74156539964d7b3d5164fdf8848e6a682f75b97 commit)
Diffstat (limited to 'fs/jfs/jfs_umount.c')
-rw-r--r--fs/jfs/jfs_umount.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/fs/jfs/jfs_umount.c b/fs/jfs/jfs_umount.c
index 21eaf7ac0fcb..a386f48c73fc 100644
--- a/fs/jfs/jfs_umount.c
+++ b/fs/jfs/jfs_umount.c
@@ -3,16 +3,16 @@
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify 4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by 5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or 6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version. 7 * (at your option) any later version.
8 * 8 *
9 * This program is distributed in the hope that it will be useful, 9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
12 * the GNU General Public License for more details. 12 * the GNU General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software 15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */ 17 */
18 18
@@ -22,8 +22,8 @@
22 * note: file system in transition to aggregate/fileset: 22 * note: file system in transition to aggregate/fileset:
23 * (ref. jfs_mount.c) 23 * (ref. jfs_mount.c)
24 * 24 *
25 * file system unmount is interpreted as mount of the single/only 25 * file system unmount is interpreted as mount of the single/only
26 * fileset in the aggregate and, if unmount of the last fileset, 26 * fileset in the aggregate and, if unmount of the last fileset,
27 * as unmount of the aggerate; 27 * as unmount of the aggerate;
28 */ 28 */
29 29
@@ -60,13 +60,13 @@ int jfs_umount(struct super_block *sb)
60 jfs_info("UnMount JFS: sb:0x%p", sb); 60 jfs_info("UnMount JFS: sb:0x%p", sb);
61 61
62 /* 62 /*
63 * update superblock and close log 63 * update superblock and close log
64 * 64 *
65 * if mounted read-write and log based recovery was enabled 65 * if mounted read-write and log based recovery was enabled
66 */ 66 */
67 if ((log = sbi->log)) 67 if ((log = sbi->log))
68 /* 68 /*
69 * Wait for outstanding transactions to be written to log: 69 * Wait for outstanding transactions to be written to log:
70 */ 70 */
71 jfs_flush_journal(log, 2); 71 jfs_flush_journal(log, 2);
72 72
@@ -112,17 +112,17 @@ int jfs_umount(struct super_block *sb)
112 112
113 /* 113 /*
114 * ensure all file system file pages are propagated to their 114 * ensure all file system file pages are propagated to their
115 * home blocks on disk (and their in-memory buffer pages are 115 * home blocks on disk (and their in-memory buffer pages are
116 * invalidated) BEFORE updating file system superblock state 116 * invalidated) BEFORE updating file system superblock state
117 * (to signify file system is unmounted cleanly, and thus in 117 * (to signify file system is unmounted cleanly, and thus in
118 * consistent state) and log superblock active file system 118 * consistent state) and log superblock active file system
119 * list (to signify skip logredo()). 119 * list (to signify skip logredo()).
120 */ 120 */
121 if (log) { /* log = NULL if read-only mount */ 121 if (log) { /* log = NULL if read-only mount */
122 updateSuper(sb, FM_CLEAN); 122 updateSuper(sb, FM_CLEAN);
123 123
124 /* 124 /*
125 * close log: 125 * close log:
126 * 126 *
127 * remove file system from log active file system list. 127 * remove file system from log active file system list.
128 */ 128 */
@@ -142,7 +142,7 @@ int jfs_umount_rw(struct super_block *sb)
142 return 0; 142 return 0;
143 143
144 /* 144 /*
145 * close log: 145 * close log:
146 * 146 *
147 * remove file system from log active file system list. 147 * remove file system from log active file system list.
148 */ 148 */