]> git.baikalelectronics.ru Git - kernel.git/commit
jbd2: use gfp_t instead of int
authorDan Carpenter <error27@gmail.com>
Sun, 4 Sep 2011 14:20:14 +0000 (10:20 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 4 Sep 2011 14:20:14 +0000 (10:20 -0400)
commit38b4f3c17be9df54d626a150aa7936e3b526d9de
tree32c061d113405936a3dc37ad47018b88393c1e66
parentf8177852d4deab53b9c31abe54526bd7bc035281
jbd2: use gfp_t instead of int

This silences some Sparse warnings:
fs/jbd2/transaction.c:135:69: warning: incorrect type in argument 2 (different base types)
fs/jbd2/transaction.c:135:69:    expected restricted gfp_t [usertype] flags
fs/jbd2/transaction.c:135:69:    got int [signed] gfp_mask

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/transaction.c
include/linux/jbd2.h