]> git.baikalelectronics.ru Git - kernel.git/commit
fs: semove set but not checked AOP_FLAG_UNINTERRUPTIBLE flag
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Mon, 8 May 2017 22:58:59 +0000 (15:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 May 2017 00:15:14 +0000 (17:15 -0700)
commit65aa4878be697749c3832a2785706d3dc76b1902
treeee3ecc300b4f02c8e27af51a24607068b54a0f61
parent86a80b416a2935484ce2938fd3ff70135afe656e
fs: semove set but not checked AOP_FLAG_UNINTERRUPTIBLE flag

Commit 8403dd85262c ("fs: introduce write_begin, write_end, and
perform_write aops") introduced AOP_FLAG_UNINTERRUPTIBLE flag which was
checked in pagecache_write_begin(), but that check was removed by
0a412d856b7b ("fs: remove prepare_write/commit_write").

Between these two commits, commit 63f799f55d62 ("cifs: Convert cifs to
new aops.") added a check in cifs_write_begin(), but that check was soon
removed by commit 233ca2356dd2 ("[CIFS] fix regression in
cifs_write_begin/cifs_write_end").

Therefore, AOP_FLAG_UNINTERRUPTIBLE flag is checked nowhere.  Let's
remove this flag.  This patch has no functionality changes.

Link: http://lkml.kernel.org/r/1489294781-53494-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Nick Piggin <npiggin@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/filesystems/vfs.txt
fs/buffer.c
fs/exofs/dir.c
fs/hfs/extent.c
fs/hfsplus/extents.c
fs/iomap.c
fs/namei.c
include/linux/fs.h
mm/filemap.c