fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / fs / jfs / jfs_umount.c
index 21eaf7a..a386f48 100644 (file)
@@ -3,16 +3,16 @@
  *
  *   This program is free software;  you can redistribute it and/or modify
  *   it under the terms of the GNU General Public License as published by
- *   the Free Software Foundation; either version 2 of the License, or 
+ *   the Free Software Foundation; either version 2 of the License, or
  *   (at your option) any later version.
- * 
+ *
  *   This program is distributed in the hope that it will be useful,
  *   but WITHOUT ANY WARRANTY;  without even the implied warranty of
  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
  *   the GNU General Public License for more details.
  *
  *   You should have received a copy of the GNU General Public License
- *   along with this program;  if not, write to the Free Software 
+ *   along with this program;  if not, write to the Free Software
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  */
 
@@ -22,8 +22,8 @@
  * note: file system in transition to aggregate/fileset:
  * (ref. jfs_mount.c)
  *
- * file system unmount is interpreted as mount of the single/only 
- * fileset in the aggregate and, if unmount of the last fileset, 
+ * file system unmount is interpreted as mount of the single/only
+ * fileset in the aggregate and, if unmount of the last fileset,
  * as unmount of the aggerate;
  */
 
@@ -60,13 +60,13 @@ int jfs_umount(struct super_block *sb)
        jfs_info("UnMount JFS: sb:0x%p", sb);
 
        /*
-        *      update superblock and close log 
+        *      update superblock and close log
         *
         * if mounted read-write and log based recovery was enabled
         */
        if ((log = sbi->log))
                /*
-                * Wait for outstanding transactions to be written to log: 
+                * Wait for outstanding transactions to be written to log:
                 */
                jfs_flush_journal(log, 2);
 
@@ -112,17 +112,17 @@ int jfs_umount(struct super_block *sb)
 
        /*
         * ensure all file system file pages are propagated to their
-        * home blocks on disk (and their in-memory buffer pages are 
+        * home blocks on disk (and their in-memory buffer pages are
         * invalidated) BEFORE updating file system superblock state
-        * (to signify file system is unmounted cleanly, and thus in 
-        * consistent state) and log superblock active file system 
+        * (to signify file system is unmounted cleanly, and thus in
+        * consistent state) and log superblock active file system
         * list (to signify skip logredo()).
         */
        if (log) {              /* log = NULL if read-only mount */
                updateSuper(sb, FM_CLEAN);
 
                /*
-                * close log: 
+                * close log:
                 *
                 * remove file system from log active file system list.
                 */
@@ -142,7 +142,7 @@ int jfs_umount_rw(struct super_block *sb)
                return 0;
 
        /*
-        * close log: 
+        * close log:
         *
         * remove file system from log active file system list.
         */