patch-2.4.26 linux-2.4.26/fs/xfs/linux/kmem.h
Next file: linux-2.4.26/fs/xfs/linux/xfs_aops.c
Previous file: linux-2.4.26/fs/xfs/Makefile
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
2004-04-14 06:05:40.000000000 -0700
- Orig file:
linux-2.4.25/fs/xfs/linux/kmem.h
- Orig date:
2004-02-18 05:36:31.000000000 -0800
diff -urN linux-2.4.25/fs/xfs/linux/kmem.h linux-2.4.26/fs/xfs/linux/kmem.h
@@ -59,6 +59,12 @@
current->flags |= PF_FSTRANS; \
} while (0)
+#define PFLAGS_CLEAR_FSTRANS(STATEP) do { \
+ *(STATEP) = current->flags; \
+ current->flags &= ~PF_FSTRANS; \
+} while (0)
+
+
#define PFLAGS_RESTORE(STATEP) do { \
current->flags = *(STATEP); \
} while (0)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)