diff options
author | Steve French <sfrench@us.ibm.com> | 2006-01-12 17:47:08 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-01-12 17:47:08 -0500 |
commit | 94bc2be31a01a3055ec94176e595dfe208e92d3b (patch) | |
tree | ebfbe81c6718a6390bfa1b99c6d228237d818576 /fs/fcntl.c | |
parent | c32a0b689cb9cc160cfcd19735bbf50bb70c6ef4 (diff) | |
parent | 58cba4650a7a414eabd2b40cc9d8e45fcdf192d9 (diff) |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/fcntl.c')
-rw-r--r-- | fs/fcntl.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/fcntl.c b/fs/fcntl.c index 863b46e0d78a..d0767fe58362 100644 --- a/fs/fcntl.c +++ b/fs/fcntl.c | |||
@@ -9,6 +9,7 @@ | |||
9 | #include <linux/mm.h> | 9 | #include <linux/mm.h> |
10 | #include <linux/fs.h> | 10 | #include <linux/fs.h> |
11 | #include <linux/file.h> | 11 | #include <linux/file.h> |
12 | #include <linux/capability.h> | ||
12 | #include <linux/dnotify.h> | 13 | #include <linux/dnotify.h> |
13 | #include <linux/smp_lock.h> | 14 | #include <linux/smp_lock.h> |
14 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
@@ -457,11 +458,11 @@ static void send_sigio_to_task(struct task_struct *p, | |||
457 | else | 458 | else |
458 | si.si_band = band_table[reason - POLL_IN]; | 459 | si.si_band = band_table[reason - POLL_IN]; |
459 | si.si_fd = fd; | 460 | si.si_fd = fd; |
460 | if (!send_group_sig_info(fown->signum, &si, p)) | 461 | if (!group_send_sig_info(fown->signum, &si, p)) |
461 | break; | 462 | break; |
462 | /* fall-through: fall back on the old plain SIGIO signal */ | 463 | /* fall-through: fall back on the old plain SIGIO signal */ |
463 | case 0: | 464 | case 0: |
464 | send_group_sig_info(SIGIO, SEND_SIG_PRIV, p); | 465 | group_send_sig_info(SIGIO, SEND_SIG_PRIV, p); |
465 | } | 466 | } |
466 | } | 467 | } |
467 | 468 | ||
@@ -495,7 +496,7 @@ static void send_sigurg_to_task(struct task_struct *p, | |||
495 | struct fown_struct *fown) | 496 | struct fown_struct *fown) |
496 | { | 497 | { |
497 | if (sigio_perm(p, fown, SIGURG)) | 498 | if (sigio_perm(p, fown, SIGURG)) |
498 | send_group_sig_info(SIGURG, SEND_SIG_PRIV, p); | 499 | group_send_sig_info(SIGURG, SEND_SIG_PRIV, p); |
499 | } | 500 | } |
500 | 501 | ||
501 | int send_sigurg(struct fown_struct *fown) | 502 | int send_sigurg(struct fown_struct *fown) |