[PATCH 0/2] ext2: Avoid parsing options under a spinlock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

as Jia-Ju Bai pointed out, match_int() can sleep due to GFP_KERNEL allocation.
Change ext2 mount option parsing so that it does not happen under sbi->s_lock
spinlock. That is a reasonable change anyway and as a sideeffect we don't
have to restore old options if new options cannot be used for some reason.
If nobody objects, I'll push these patches through my tree.

								Honza



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux