commit | 4d0e1e10752ca487d83d1ab2a1d4ae6d664e1cc0 | [log] [tgz] |
---|---|---|
author | Cesar Eduardo Barros <[email protected]> | Tue Mar 22 16:33:26 2011 -0700 |
committer | Linus Torvalds <[email protected]> | Tue Mar 22 17:44:07 2011 -0700 |
tree | 57f0c09fd4e61a02e4ad5cd86b1dbda7029b2806 | |
parent | bd69010b042a60ca41a890df1b10019e94746c2f [diff] |
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 <[email protected]> Tested-by: Eric B Munson <[email protected]> Acked-by: Eric B Munson <[email protected]> Reviewed-by: KAMEZAWA Hiroyuki <[email protected]> Cc: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>