patch-2.4.22 linux-2.4.22/fs/hfs/mdb.c
Next file: linux-2.4.22/fs/hfs/super.c
Previous file: linux-2.4.22/fs/fat/misc.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-08-25 04:44:43.000000000 -0700
- Orig file:
linux-2.4.21/fs/hfs/mdb.c
- Orig date:
2001-02-13 14:13:45.000000000 -0800
diff -urN linux-2.4.21/fs/hfs/mdb.c linux-2.4.22/fs/hfs/mdb.c
@@ -197,7 +197,7 @@
if (!(mdb->attrib & htons(HFS_SB_ATTRIB_CLEAN))) {
hfs_warn("hfs_fs: WARNING: mounting unclean filesystem.\n");
- } else if (!readonly) {
+ } else if (!readonly && !(mdb->attrib & (HFS_SB_ATTRIB_HLOCK | HFS_SB_ATTRIB_SLOCK))) {
/* Mark the volume uncleanly unmounted in case we crash */
hfs_put_ns(mdb->attrib & htons(~HFS_SB_ATTRIB_CLEAN),
raw->drAtrb);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)