Whamcloud - gitweb
LU-1812 ldiskfs: don't use sb->s_qf_inums
authorJeff Mahoney <jeffm@suse.com>
Mon, 4 Feb 2013 21:52:14 +0000 (16:52 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 10 Feb 2013 03:43:11 +0000 (22:43 -0500)
commit5c584d02f247a992fd45779846355c061e0a1835
tree3a8e22442e1e0f9946517bd42aaf0cb94b358211
parentb7835ef5f56f439a522eca66350e698383f73165
LU-1812 ldiskfs: don't use sb->s_qf_inums

ext4-quota-first-class.patch was finally accepted into the mainline
Linux kernel via commit 7c319d32 (v3.6). The final version doesn't
include the cached inode numbers so they aren't available on newer
kernels that include this patch (or that are using an ldiskfs
patched using the usptream version).

Since the file system will refuse mounting when the inodes can't
be read, the lookup code isn't invoked without valid inode numbers
anyway.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Change-Id: Ie1b824183cf734a0f242bb6483a192f1919dc4be
Reviewed-on: http://review.whamcloud.com/5264
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
lustre/osd-ldiskfs/osd_quota.c