summaryrefslogtreecommitdiffstats
path: root/fs/sync.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2013-01-12 22:19:36 +0100
committerTheodore Ts'o <tytso@mit.edu>2013-01-12 22:19:36 +0100
commit860d21e2c585f7ee8a4ecc06f474fdc33c9474f4 (patch)
treef4b8f664599f043b7aa7b86a9a135aa275f0a5e2 /fs/sync.c
parentLinux 3.8-rc3 (diff)
downloadlinux-860d21e2c585f7ee8a4ecc06f474fdc33c9474f4.tar.xz
linux-860d21e2c585f7ee8a4ecc06f474fdc33c9474f4.zip
ext4: return ENOMEM if sb_getblk() fails
The only reason for sb_getblk() failing is if it can't allocate the buffer_head. So ENOMEM is more appropriate than EIO. In addition, make sure that the file system is marked as being inconsistent if sb_getblk() fails. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions