Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14025
b: refs/heads/master
c: 95e861d
h: refs/heads/master
i:
  14023: d3facca
v: v3
  • Loading branch information
Eric Dumazet authored and Linus Torvalds committed Nov 14, 2005
1 parent 4583fc7 commit 524ecf4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d6c7ac081bf6cafcf780b919ee97978f1d01a0d7
refs/heads/master: 95e861db3eaba7bc99f8605db70103ec3d078203
10 changes: 5 additions & 5 deletions trunk/include/linux/file.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ struct fdtable {
* Open file table structure
*/
struct files_struct {
atomic_t count;
spinlock_t file_lock; /* Protects all the below members. Nests inside tsk->alloc_lock */
atomic_t count;
struct fdtable *fdt;
struct fdtable fdtab;
fd_set close_on_exec_init;
fd_set open_fds_init;
struct file * fd_array[NR_OPEN_DEFAULT];
fd_set close_on_exec_init;
fd_set open_fds_init;
struct file * fd_array[NR_OPEN_DEFAULT];
spinlock_t file_lock; /* Protects concurrent writers. Nests inside tsk->alloc_lock */
};

#define files_fdtable(files) (rcu_dereference((files)->fdt))
Expand Down

0 comments on commit 524ecf4

Please sign in to comment.