vfs: move O_DIRECT check to common code
authorMiklos Szeredi <mszeredi@suse.cz>
Tue, 5 Jun 2012 13:10:32 +0000 (15:10 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Jul 2012 12:33:28 +0000 (16:33 +0400)
commita8277b9baa6268de386529a33061775bc716198b
treecdd127a78f7055b873ff79b2afdbb8d74382aac4
parentf60dc3db6e24b7c36445cf1feb56b34c799074b3
vfs: move O_DIRECT check to common code

Perform open_check_o_direct() in a common place in do_last after opening the
file.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c