diff options
| author | Cesar Eduardo Barros <[email protected]> | 2011-03-22 16:33:26 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-03-22 17:44:07 -0700 |
| commit | 4d0e1e10752ca487d83d1ab2a1d4ae6d664e1cc0 (patch) | |
| tree | 57f0c09fd4e61a02e4ad5cd86b1dbda7029b2806 /tools/perf/scripts/python | |
| 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]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions