summaryrefslogtreecommitdiffstats
path: root/block/bsg.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2011-11-21 12:11:33 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-06 23:20:13 -0500
commit8e8b87964bc8dc5c14b6543fc933b7725f07d3ac (patch)
tree9a14c135741f3a8ba960ff97f060a58597604a6d /block/bsg.c
parent7ada4db88634429f4da690ad1c4eb73c93085f0c (diff)
downloadop-kernel-dev-8e8b87964bc8dc5c14b6543fc933b7725f07d3ac.zip
op-kernel-dev-8e8b87964bc8dc5c14b6543fc933b7725f07d3ac.tar.gz
vfs: prevent remount read-only if pending removes
If there are any inodes on the super block that have been unlinked (i_nlink == 0) but have not yet been deleted then prevent the remounting the super block read-only. Reported-by: Toshiyuki Okajima <toshi.okajima@jp.fujitsu.com> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Tested-by: Toshiyuki Okajima <toshi.okajima@jp.fujitsu.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud