aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/net.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-03-29 14:11:18 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-29 14:11:18 -0400
commit8c82840e5414259b1963da36f82b64a755fafc75 (patch)
tree0087ca8ae4991d99fdcf93a70ca99db76812948d /drivers/firewire/net.c
parentc86defc82c18b648193b5c6aabcc6204fd6bb373 (diff)
parenta9f0fbe2bbf328f869fc5ee5a12c6a4118c32689 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp: amd64_edac: Fix potential memleak
Diffstat (limited to 'drivers/firewire/net.c')
0 files changed, 0 insertions, 0 deletions
+ 6) /* * Request nofications on a directory. * See below for events that may be notified. */ #define F_NOTIFY (F_LINUX_SPECIFIC_BASE+2) /* * Types of directory notifications that may be requested. */ #define DN_ACCESS 0x00000001 /* File accessed */ #define DN_MODIFY 0x00000002 /* File modified */ #define DN_CREATE 0x00000004 /* File created */ #define DN_DELETE 0x00000008 /* File removed */ #define DN_RENAME 0x00000010 /* File renamed */ #define DN_ATTRIB 0x00000020 /* File changed attibutes */ #define DN_MULTISHOT 0x80000000 /* Don't remove notifier */ #define AT_FDCWD -100 /* Special value used to indicate openat should use the current working directory. */ #define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */ #define AT_REMOVEDIR 0x200 /* Remove directory instead of unlinking file. */ #define AT_SYMLINK_FOLLOW 0x400 /* Follow symbolic links. */ #ifdef __KERNEL__ #ifndef force_o_largefile #define force_o_largefile() (BITS_PER_LONG != 32) #endif #if BITS_PER_LONG == 32 #define IS_GETLK32(cmd) ((cmd) == F_GETLK) #define IS_SETLK32(cmd) ((cmd) == F_SETLK) #define IS_SETLKW32(cmd) ((cmd) == F_SETLKW) #define IS_GETLK64(cmd) ((cmd) == F_GETLK64) #define IS_SETLK64(cmd) ((cmd) == F_SETLK64) #define IS_SETLKW64(cmd) ((cmd) == F_SETLKW64) #else #define IS_GETLK32(cmd) (0) #define IS_SETLK32(cmd) (0) #define IS_SETLKW32(cmd) (0) #define IS_GETLK64(cmd) ((cmd) == F_GETLK) #define IS_SETLK64(cmd) ((cmd) == F_SETLK) #define IS_SETLKW64(cmd) ((cmd) == F_SETLKW) #endif /* BITS_PER_LONG == 32 */ #define IS_GETLK(cmd) (IS_GETLK32(cmd) || IS_GETLK64(cmd)) #define IS_SETLK(cmd) (IS_SETLK32(cmd) || IS_SETLK64(cmd)) #define IS_SETLKW(cmd) (IS_SETLKW32(cmd) || IS_SETLKW64(cmd)) #endif /* __KERNEL__ */ #endif