ext4: update PF_MEMALLOC handling in ext4_write_inode()
authorTheodore Ts'o <tytso@mit.edu>
Tue, 8 Apr 2014 15:38:28 +0000 (11:38 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 8 Apr 2014 15:38:28 +0000 (11:38 -0400)
commit87f7e41636ff201148443551d06bc74497160aac
treec26125ddbcb7bd459c5c847fa828901c0d6e9f6b
parentec4cb1aa2b7bae18dd8164f2e9c7c51abcf61280
ext4: update PF_MEMALLOC handling in ext4_write_inode()

The special handling of PF_MEMALLOC callers in ext4_write_inode()
shouldn't be necessary as there shouldn't be any. Warn about it. Also
update comment before the function as it seems somewhat outdated.

(Changes modeled on an ext3 patch posted by Jan Kara to the linux-ext4
mailing list on Februaryt 28, 2014, which apparently never went into
the ext3 tree.)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Jan Kara <jack@suse.cz>
fs/ext4/inode.c