diff options
author | Dave Kleikamp <dave.kleikamp@oracle.com> | 2017-07-05 15:26:49 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2017-07-05 18:44:22 -0400 |
commit | 11ab83190828cb7b2cbb26467f2eecf74f0214c3 (patch) | |
tree | 92831270885e799536f80747936961abcea806ef /fs/jfs/jfs_metapage.h | |
parent | 2b69c8280c8b29cdeb78b8e92e20ed35f730d319 (diff) | |
download | linux-11ab83190828cb7b2cbb26467f2eecf74f0214c3.tar.gz linux-11ab83190828cb7b2cbb26467f2eecf74f0214c3.tar.bz2 linux-11ab83190828cb7b2cbb26467f2eecf74f0214c3.zip |
JFS: do not ignore return code from write_one_page()
There are a couple places where jfs calls write_one_page() where clean
recovery is not possible. In these cases, the file system should be
marked dirty. To do this, it is now necessary to store the superblock in
the metapage structure.
Link: http://lkml.kernel.org/r/db45ab67-55c7-08ff-6776-f76b3bf5cbf5@oracle.com
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Cc: Jeff Layton <jlayton@redhat.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'fs/jfs/jfs_metapage.h')
-rw-r--r-- | fs/jfs/jfs_metapage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/jfs/jfs_metapage.h b/fs/jfs/jfs_metapage.h index a869fb4a20d6..8b0ee514eb84 100644 --- a/fs/jfs/jfs_metapage.h +++ b/fs/jfs/jfs_metapage.h @@ -38,6 +38,7 @@ struct metapage { /* implementation */ struct page *page; + struct super_block *sb; unsigned int logical_size; /* Journal management */ |