https://github.com/torvalds/linux
Revision 4dfa2b84118fd6c95202ae87e62adf5000ccd4d0 authored by Christoph Hellwig on 25 January 2017, 15:49:34 UTC, committed by Darrick J. Wong on 25 January 2017, 15:49:34 UTC
Try to reserve the blocks first and only then update the fields in
or hanging off the mount structure.  This way we can call __xfs_ag_resv_init
again after a previous failure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
1 parent 83d230e
History
Tip revision: 4dfa2b84118fd6c95202ae87e62adf5000ccd4d0 authored by Christoph Hellwig on 25 January 2017, 15:49:34 UTC
xfs: only update mount/resv fields on success in __xfs_ag_resv_init
Tip revision: 4dfa2b8
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.3 KB
.mailmap -rw-r--r-- 7.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 96.0 KB
Kbuild -rw-r--r-- 2.8 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 382.5 KB
Makefile -rw-r--r-- 57.6 KB
README -rw-r--r-- 722 bytes

README

back to top