diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-01-05 22:46:26 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-01-05 22:46:26 -0500 |
commit | b3881f74b31b7d47d0f1c4d89ac3e7f0b9c05e3e (patch) | |
tree | 131190b7ec627fd2ef2ecc818a7b9c17b83ccd63 /fs/ioprio.c | |
parent | 40a1984d22294ab202f616e432bb8d3481897675 (diff) |
ext4: Add mount option to set kjournald's I/O priority
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/ioprio.c')
-rw-r--r-- | fs/ioprio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ioprio.c b/fs/ioprio.c index 3569e0ad86a2..1a39ac370942 100644 --- a/fs/ioprio.c +++ b/fs/ioprio.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/security.h> | 27 | #include <linux/security.h> |
28 | #include <linux/pid_namespace.h> | 28 | #include <linux/pid_namespace.h> |
29 | 29 | ||
30 | static int set_task_ioprio(struct task_struct *task, int ioprio) | 30 | int set_task_ioprio(struct task_struct *task, int ioprio) |
31 | { | 31 | { |
32 | int err; | 32 | int err; |
33 | struct io_context *ioc; | 33 | struct io_context *ioc; |
@@ -70,6 +70,7 @@ static int set_task_ioprio(struct task_struct *task, int ioprio) | |||
70 | task_unlock(task); | 70 | task_unlock(task); |
71 | return err; | 71 | return err; |
72 | } | 72 | } |
73 | EXPORT_SYMBOL_GPL(set_task_ioprio); | ||
73 | 74 | ||
74 | asmlinkage long sys_ioprio_set(int which, int who, int ioprio) | 75 | asmlinkage long sys_ioprio_set(int which, int who, int ioprio) |
75 | { | 76 | { |