Re: [PATCH] fs: stub out ioprio_check_cap for !CONFIG_BLOCK

2018-06-05 Thread Arnd Bergmann
On Tue, Jun 5, 2018 at 1:47 PM, Arnd Bergmann wrote: > When CONFIG_BLOCK is disabled, we now run into a link error: > > fs/aio.o: In function `aio_prep_rw': > aio.c:(.text+0xf68): undefined reference to `ioprio_check_cap' > > Since the priorities are unused without block devices, this adds a stub

Re: [PATCH] fs: stub out ioprio_check_cap for !CONFIG_BLOCK

2018-06-05 Thread Arnd Bergmann
On Tue, Jun 5, 2018 at 1:47 PM, Arnd Bergmann wrote: > When CONFIG_BLOCK is disabled, we now run into a link error: > > fs/aio.o: In function `aio_prep_rw': > aio.c:(.text+0xf68): undefined reference to `ioprio_check_cap' > > Since the priorities are unused without block devices, this adds a stub

[PATCH] fs: stub out ioprio_check_cap for !CONFIG_BLOCK

2018-06-05 Thread Arnd Bergmann
When CONFIG_BLOCK is disabled, we now run into a link error: fs/aio.o: In function `aio_prep_rw': aio.c:(.text+0xf68): undefined reference to `ioprio_check_cap' Since the priorities are unused without block devices, this adds a stub that always returns success. Fixes: d9a08a9e616b ("fs: Add aio

[PATCH] fs: stub out ioprio_check_cap for !CONFIG_BLOCK

2018-06-05 Thread Arnd Bergmann
When CONFIG_BLOCK is disabled, we now run into a link error: fs/aio.o: In function `aio_prep_rw': aio.c:(.text+0xf68): undefined reference to `ioprio_check_cap' Since the priorities are unused without block devices, this adds a stub that always returns success. Fixes: d9a08a9e616b ("fs: Add aio