diff options
author | Cesar Eduardo Barros <cesarb@cesarb.net> | 2011-03-22 16:33:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-22 17:44:07 -0700 |
commit | 4d0e1e10752ca487d83d1ab2a1d4ae6d664e1cc0 (patch) | |
tree | 57f0c09fd4e61a02e4ad5cd86b1dbda7029b2806 /COPYING | |
parent | bd69010b042a60ca41a890df1b10019e94746c2f (diff) | |
download | lwn-4d0e1e10752ca487d83d1ab2a1d4ae6d664e1cc0.tar.gz lwn-4d0e1e10752ca487d83d1ab2a1d4ae6d664e1cc0.zip |
sys_swapon: separate bdev claim and inode lock
Move the code which claims the bdev (S_ISBLK) or locks the inode
(S_ISREG) to a separate function. Only code movement, no functional
changes.
Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
Tested-by: Eric B Munson <emunson@mgebm.net>
Acked-by: Eric B Munson <emunson@mgebm.net>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions