]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix memroy leak for double mounts
authorKinglong Mee <kinglongmee@gmail.com>
Tue, 15 Apr 2014 09:22:59 +0000 (17:22 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 15 Apr 2014 14:29:25 +0000 (10:29 -0400)
commit1be88d5e772c9d302a0037519d68fe7e2888d48e
treef678be3838e7865e79adb45fc248ed6a97886b19
parent55addf3150ef37e6b38d415547cc6f20b4d9aca1
NFS: Fix memroy leak for double mounts

When double mounting same nfs filesystem, the devname saved in d_fsdata
will be lost.The second mount should not change the devname that
be saved in d_fsdata.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/getroot.c