]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - include/linux/fs.h
Merge branch 'bkl-removal' of git://git.lwn.net/linux-2.6
[linux-2.6.git] / include / linux / fs.h
index 5bc81c4a98c1913cb0e15adf8d70e9c083956bb8..1cd44f727dac386c90b707f2fe4541b16fdb8d59 100644 (file)
@@ -849,6 +849,7 @@ struct file {
 #define f_dentry       f_path.dentry
 #define f_vfsmnt       f_path.mnt
        const struct file_operations    *f_op;
+       spinlock_t              f_lock;  /* f_ep_links, f_flags */
        atomic_long_t           f_count;
        unsigned int            f_flags;
        fmode_t                 f_mode;
@@ -867,7 +868,6 @@ struct file {
 #ifdef CONFIG_EPOLL
        /* Used by fs/eventpoll.c to link all the hooks to this file */
        struct list_head        f_ep_links;
-       spinlock_t              f_ep_lock;
 #endif /* #ifdef CONFIG_EPOLL */
        struct address_space    *f_mapping;
 #ifdef CONFIG_DEBUG_WRITECOUNT