Searched hist:f2090d2df51d7cdb2f952dcfdcd8baaac0aec444 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | swapfile.c | diff f2090d2df51d7cdb2f952dcfdcd8baaac0aec444 Tue Mar 22 18:33:23 CDT 2011 Cesar Eduardo Barros <cesarb@cesarb.net> sys_swapon: remove bdev variable
The bdev variable is always equivalent to (S_ISBLK(inode->i_mode) ? p->bdev : NULL), as long as it being set is moved to a bit earlier. Use this fact to remove the bdev variable.
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>
|