diff options
| author | Thomas Gleixner <[email protected]> | 2016-09-20 21:20:32 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2016-09-20 21:20:32 +0000 |
| commit | 464b5847e61085f81bb99ce48eb427a0dc7617dc (patch) | |
| tree | 805c97855a9a13c06910687bbbbe3eb7bc371902 /fs/aio.c | |
| parent | Merge branch 'irq/for-block' into irq/core (diff) | |
| parent | irqchip/mips-gic: Fix local interrupts (diff) | |
| download | kernel-464b5847e61085f81bb99ce48eb427a0dc7617dc.tar.gz kernel-464b5847e61085f81bb99ce48eb427a0dc7617dc.zip | |
Merge branch 'irq/urgent' into irq/core
Merge urgent fixes so pending patches for 4.9 can be applied.
Diffstat (limited to 'fs/aio.c')
| -rw-r--r-- | fs/aio.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -239,7 +239,12 @@ static struct dentry *aio_mount(struct file_system_type *fs_type, static const struct dentry_operations ops = { .d_dname = simple_dname, }; - return mount_pseudo(fs_type, "aio:", NULL, &ops, AIO_RING_MAGIC); + struct dentry *root = mount_pseudo(fs_type, "aio:", NULL, &ops, + AIO_RING_MAGIC); + + if (!IS_ERR(root)) + root->d_sb->s_iflags |= SB_I_NOEXEC; + return root; } /* aio_setup |
