Skip to content

Commit 2ec67bb

Browse files
committed
Merge branch 'work.fdtable' into vfs.file
Bring in the fdtable changes for this cycle. Signed-off-by: Christian Brauner <[email protected]>
2 parents 62eec75 + 6a8126f commit 2ec67bb

File tree

26 files changed

+88
-198
lines changed

26 files changed

+88
-198
lines changed

arch/powerpc/platforms/cell/spufs/coredump.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ static struct spu_context *coredump_next_context(int *fd)
7373
return NULL;
7474
*fd = n - 1;
7575

76-
rcu_read_lock();
77-
file = lookup_fdget_rcu(*fd);
78-
rcu_read_unlock();
76+
file = fget_raw(*fd);
7977
if (file) {
8078
ctx = SPUFS_I(file_inode(file))->i_ctx;
8179
get_spu_context(ctx);

fs/fcntl.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include <linux/fs.h>
1313
#include <linux/filelock.h>
1414
#include <linux/file.h>
15-
#include <linux/fdtable.h>
1615
#include <linux/capability.h>
1716
#include <linux/dnotify.h>
1817
#include <linux/slab.h>

0 commit comments

Comments
 (0)