summaryrefslogtreecommitdiff
path: root/fs/udf/balloc.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2012-02-14 13:28:01 +0100
committerJan Kara <jack@suse.cz>2012-02-29 21:53:47 +0100
commitbf097aaff45eba2244ca3a61e531ec6f2801f6b2 (patch)
tree3acf144dfe272c81a54744024b8d7df53855acce /fs/udf/balloc.c
parentd5e2cf07c388dbd06579ab39672e1bd8b9754e65 (diff)
quota: Make quota code not call tty layer with dqptr_sem held
dqptr_sem can be called from slab reclaim. tty layer uses GFP_KERNEL mask for allocation so it can end up calling slab reclaim. Given quota code can call into tty layer to print warning this creates possibility for lock inversion between tty->atomic_write_lock and dqptr_sem. Using direct printing of warnings from quota layer is obsolete but since it's easy enough to change quota code to not hold any locks when printing warnings, let's just do it. It seems like a good thing to do even when we use netlink layer to transmit warnings to userspace. Reported-by: Markus <M4rkusXXL@web.de> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/balloc.c')
0 files changed, 0 insertions, 0 deletions