]> git.baikalelectronics.ru Git - kernel.git/commit
fs: fold open_check_o_direct into do_dentry_open
authorChristoph Hellwig <hch@lst.de>
Tue, 20 Mar 2018 10:30:14 +0000 (11:30 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 28 Mar 2018 05:39:01 +0000 (01:39 -0400)
commit83f65552a17ac149d1ec49a8067768bf9a079c7a
tree7b8466a6eb6ffdf48e91b5c6db85c939a50ac449
parentbdca5cd6bd6f80f52d4a7a49a3ed851282d691a9
fs: fold open_check_o_direct into do_dentry_open

do_dentry_open is where we do the actual open of the file, so this is
where we should do our O_DIRECT sanity check to cover all potential
callers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/internal.h
fs/namei.c
fs/open.c