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

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)