introduce __sb_writers_{acquired,release}() helpers
authorOleg Nesterov <oleg@redhat.com>
Sun, 19 Jul 2015 21:48:20 +0000 (23:48 +0200)
committerOleg Nesterov <oleg@redhat.com>
Sat, 15 Aug 2015 11:52:08 +0000 (13:52 +0200)
commitbee9182d955227f01ff3b80c4cb6acca9bb40b11
tree3237b122991b6f44913f47561e52c344d7725fb1
parent45e38cff4fce8d6871b5fa5e734e4dc9814d6056
introduce __sb_writers_{acquired,release}() helpers

Preparation to hide the sb->s_writers internals from xfs and btrfs.
Add 2 trivial define's they can use rather than play with ->s_writers
directly. No changes in btrfs/transaction.o and xfs/xfs_aops.o.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Jan Kara <jack@suse.com>
fs/btrfs/transaction.c
fs/xfs/xfs_aops.c
include/linux/fs.h