summaryrefslogtreecommitdiffstats
path: root/arch/sparc64
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2008-10-28 00:08:17 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-10-28 00:08:17 -0400
commita996031c87e093017c0763326a08896a3a4817f4 (patch)
tree74550b7108b1b1fd87393801de56bd9e1e8b1012 /arch/sparc64
parent8c3bf8a01c005385e9be0bc992e10abfb355278c (diff)
delay capable() check in ext4_has_free_blocks()
As reported by Eric Paris, the capable() check in ext4_has_free_blocks() sometimes causes SELinux denials. We can rearrange the logic so that we only try to use the root-reserved blocks when necessary, and even then we can move the capable() test to last, to avoid the check most of the time. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'arch/sparc64')
0 files changed, 0 insertions, 0 deletions