projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ext4: make ext4_forced_shutdown() take struct super_block
[linux-2.6-microblaze.git]
/
fs
/
ext4
/
fsync.c
diff --git
a/fs/ext4/fsync.c
b/fs/ext4/fsync.c
index
0c56f3a
..
bffc1d0
100644
(file)
--- a/
fs/ext4/fsync.c
+++ b/
fs/ext4/fsync.c
@@
-133,7
+133,7
@@
int ext4_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
struct inode *inode = file->f_mapping->host;
struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb);
- if (unlikely(ext4_forced_shutdown(
sbi
)))
+ if (unlikely(ext4_forced_shutdown(
inode->i_sb
)))
return -EIO;
ASSERT(ext4_journal_current_handle() == NULL);