fs: semove set but not checked AOP_FLAG_UNINTERRUPTIBLE flag
Commitafddba49d1
("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 by4e02ed4b4a
("fs: remove prepare_write/commit_write"). Between these two commits, commitd9414774dc
("cifs: Convert cifs to new aops.") added a check in cifs_write_begin(), but that check was soon removed by commita98ee8c1c7
("[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>
This commit is contained in:

committed by
Linus Torvalds

parent
f44a2920c8
commit
c718a97514
@@ -250,9 +250,8 @@ enum positive_aop_returns {
|
||||
AOP_TRUNCATED_PAGE = 0x80001,
|
||||
};
|
||||
|
||||
#define AOP_FLAG_UNINTERRUPTIBLE 0x0001 /* will not do a short write */
|
||||
#define AOP_FLAG_CONT_EXPAND 0x0002 /* called from cont_expand */
|
||||
#define AOP_FLAG_NOFS 0x0004 /* used by filesystem to direct
|
||||
#define AOP_FLAG_CONT_EXPAND 0x0001 /* called from cont_expand */
|
||||
#define AOP_FLAG_NOFS 0x0002 /* used by filesystem to direct
|
||||
* helper code (eg buffer layer)
|
||||
* to clear GFP_FS from alloc */
|
||||
|
||||
|
Reference in New Issue
Block a user