diff options
| author | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-11-03 10:11:27 -0400 | 
|---|---|---|
| committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-11-03 10:11:27 -0400 | 
| commit | 8f987768eb99631374f4ab0bb19cd062baf1397d (patch) | |
| tree | b89aa5c207f7ba6a688f45657424b937f17ceb8a /include/linux/fdtable.h | |
| parent | 63f7526f26f0a9291ac3f7a986aa18ebfb61ec19 (diff) | |
| parent | c8ddb2713c624f432fa5fe3c7ecffcdda46ea0d4 (diff) | |
Merge commit 'v2.6.37-rc1' into for-2.6.37
Diffstat (limited to 'include/linux/fdtable.h')
| -rw-r--r-- | include/linux/fdtable.h | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/fdtable.h b/include/linux/fdtable.h index f59ed297b661..133c0ba25e30 100644 --- a/include/linux/fdtable.h +++ b/include/linux/fdtable.h  | |||
| @@ -31,7 +31,7 @@ struct embedded_fd_set { | |||
| 31 | 31 | ||
| 32 | struct fdtable { | 32 | struct fdtable { | 
| 33 | unsigned int max_fds; | 33 | unsigned int max_fds; | 
| 34 | struct file ** fd; /* current fd array */ | 34 | struct file __rcu **fd; /* current fd array */ | 
| 35 | fd_set *close_on_exec; | 35 | fd_set *close_on_exec; | 
| 36 | fd_set *open_fds; | 36 | fd_set *open_fds; | 
| 37 | struct rcu_head rcu; | 37 | struct rcu_head rcu; | 
| @@ -46,7 +46,7 @@ struct files_struct { | |||
| 46 | * read mostly part | 46 | * read mostly part | 
| 47 | */ | 47 | */ | 
| 48 | atomic_t count; | 48 | atomic_t count; | 
| 49 | struct fdtable *fdt; | 49 | struct fdtable __rcu *fdt; | 
| 50 | struct fdtable fdtab; | 50 | struct fdtable fdtab; | 
| 51 | /* | 51 | /* | 
| 52 | * written part on a separate cache line in SMP | 52 | * written part on a separate cache line in SMP | 
| @@ -55,7 +55,7 @@ struct files_struct { | |||
| 55 | int next_fd; | 55 | int next_fd; | 
| 56 | struct embedded_fd_set close_on_exec_init; | 56 | struct embedded_fd_set close_on_exec_init; | 
| 57 | struct embedded_fd_set open_fds_init; | 57 | struct embedded_fd_set open_fds_init; | 
| 58 | struct file * fd_array[NR_OPEN_DEFAULT]; | 58 | struct file __rcu * fd_array[NR_OPEN_DEFAULT]; | 
| 59 | }; | 59 | }; | 
| 60 | 60 | ||
| 61 | #define rcu_dereference_check_fdtable(files, fdtfd) \ | 61 | #define rcu_dereference_check_fdtable(files, fdtfd) \ | 
