<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 09/20/2011 05:50 PM, rohan puri wrote:
    <blockquote
cite="mid:CALJfu6PPYywHg=yvY89divNP9YmpdQ76nMeFRwFV6ELrw2txHA@mail.gmail.com"
      type="cite"><br>
      <br>
      <div class="gmail_quote">On Tue, Sep 20, 2011 at 5:14 PM, Abhijit
        Pawar <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:apawar.linux@gmail.com">apawar.linux@gmail.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex;">
          <div bgcolor="#FFFFFF" text="#000000"> Hi list,<br>
            It seems that the support for get_sb function is removed
            from kernel 2.6.39 onwards. My code which is working till
            2.6.38 series is failing with new kernels.<br>
            <br>
            I tried finding out but there isnt anything mentioned. So if
            this function itself is removed then how kernel is going to
            find out the superblock and use it?<br>
            <br>
            Are we supposed to use the mount function provided? This is
            what i got from one of the kernel patch email.<br>
            <br>
            <span style="color:rgb(0, 0, 0);font-family:'Times New
Roman';font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium">
              <pre style="word-wrap:break-word;white-space:pre-wrap">+[mandatory]
+        -&gt;get_sb() is gone.  Switch to use of -&gt;mount().  Typically it's just
+a matter of switching from calling get_sb_... to mount_... and changing the
+function type.  If you were doing it manually, just switch from setting -&gt;mnt_root
+to some pointer to returning that pointer.  On errors return ERR_PTR(...).
diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt
</pre>
            </span><br>
            It looks like there are other changes related to Pages are
            also done.<br>
            <br>
            <br>
            Regards,<br>
            <font color="#888888"> Abhijit Pawar<br>
            </font></div>
          <br>
          _______________________________________________<br>
          Kernelnewbies mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies"
            target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
        </blockquote>
        <div><br>
          Hi Abhijit,<br>
          <br>
          Yes you have to make use of mount function pointer in the
          struct file_system_type.<br>
          <br>
          NOTE : - change is only in one parameter of type struct
          vfsmount which is basically removed from this function
          pointer.<br>
          <br>
          Regards,<br>
          Rohan Puri<br>
        </div>
      </div>
      <br>
    </blockquote>
    Thanks Rohan. Yes, i have made the changes and things are looking
    good. struct address_space_operation's sync_page is also removed.<br>
    <br>
    Regards,<br>
    Abhijit Pawar<br>
  </body>
</html>